package cn.doitedu.day04

import scala.util.Random

object CaseDemo01 extends App{

  val arr = Array("YoshizawaAkiho", "YuiHatano", "AoiSola")
  val name = arr(Random.nextInt(arr.length))


  name match {
    case "YoshizawaAkiho" => {
      println("吉泽老师...")
    }
    case "YuiHatano" => println("波多老师...")
    case _ => println("真不知道你们在说什么...")
  }
}
